package com.sc.design.mediator;

public abstract class AbstractMediator {
    protected Purchase purchase= null;
    protected Sale sale = null;
    protected Stock stock = null;

    public AbstractMediator(){
        purchase = new Purchase(this);
        sale = new Sale(this);
        stock = new Stock(this);
    }

    public abstract void execute(String str,Object... objects);
}
